<template>
	<view>
		<web-view :src="webData.url"></web-view>
	</view>
</template>

<script setup>
	import { reactive } from 'vue'
	import { http } from '@/utils/request'
	import { onLoad,onShow } from "@dcloudio/uni-app";
	
	const webData = reactive({
		url: '',
		title: '',
	})
	
	const webViewStyle = reactive({
				})
	
	onLoad((option)=>{
		webData.url = option.url;
		webData.title = option.title;
		uni.setNavigationBarTitle({
			title: option.title || ''
		})
		console.log(option.title);
	})
	

</script>

<style lang="scss" scoped>
</style>